package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 行政区域维护对象 行政区域维护表
 * 
 * @author ruoyi
 * @date 2023-06-29
 */
public class DicRegion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 省 */
    @Excel(name = "省")
    private String level1;

    /** 市 */
    @Excel(name = "市")
    private String level2;

    /** 区 */
    @Excel(name = "区")
    private String level3;

    /** 街道 */
    @Excel(name = "街道")
    private String level4;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLevel1(String level1) 
    {
        this.level1 = level1;
    }

    public String getLevel1() 
    {
        return level1;
    }
    public void setLevel2(String level2) 
    {
        this.level2 = level2;
    }

    public String getLevel2() 
    {
        return level2;
    }
    public void setLevel3(String level3) 
    {
        this.level3 = level3;
    }

    public String getLevel3() 
    {
        return level3;
    }
    public void setLevel4(String level4) 
    {
        this.level4 = level4;
    }

    public String getLevel4() 
    {
        return level4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level1", getLevel1())
            .append("level2", getLevel2())
            .append("level3", getLevel3())
            .append("level4", getLevel4())
            .toString();
    }
}
